{include file="include:header" /}
<!-- 首页 -->
<body class="gray-bg">
    {include file="include:nav" /}
    <div class="inside-banner-wrap wrap1920">
    	<div class="wrap1200">
    		<img class="inside-banner" src="__PUBLICINDEX__/images/inside-banner_01.jpg" alt="律団elvtuan" />
    		<div class="ani-t ani-t01 wow fadeInUp animated" data-wow-duration="1.2s" data-wow-delay="0.2s" ></div>
    		<div class="ani-t ani-t02 wow fadeInUp animated" data-wow-duration="1.2s" data-wow-delay="0.7s" ></div>
    	</div>
    </div>
    <div class="wrap1920">
		<!-- 免费咨询 -->
		<div class="free-question question-detaile">
			<!-- 问题列表 -->
			<div class="wrap1200">
				<div class="fl question-detail-wrap">
					{empty name="$data"}
					暂无咨询
					{else/}
					<div class="question-con">
						<div class="question-title">
							<div class="kind-name fl">{$data['ct_name']}</div>
							<div class="fl main-t">
								<h4>{$data['ct_title']}</h4>
							</div>
							<ul class="counts fr">
								<li>
									<em>{$data['ct_sum']}</em>
									<a href="javascript:;" class="cellect-btn question-operation"><span>
											{if condition="$data['collect'] egt 1"}
													 <i class="iconfont" style="background:#FFDA2A" >&#xe67e;</i>已收藏
											{else /}
													<i class="iconfont"  >&#xe67e;</i>收藏
											{/if}
									</span></a>
								</li>
								<li>
									<em>{$count}</em>
									<span><i class="iconfont">&#xe6a8;</i> 回答</span>
								</li>
							</ul>
						</div>
						<div class="question-text">
							<p>{$data['ct_details']}</p>
						</div>
						<div class="question-head">
							{empty name="$data['u_img']"}
							<img class="fl" src="__PUBLICINDEX__/images/user-head.png" alt="" />
							{else /}
							<img class="fl" src="{$data['u_img']}" alt="" />
							{/empty}
							<p>{$data['u_nickname']}
								<span class='fr'>提问于：{$data['ct_addtime']}</span>
							</p>
						</div>
					</div>
					<div class="answer-list">
						<h2><i class="iconfont">&#xe7cb;</i>律师回答<span><em>{$count}</em>条回答</span></h2>
					{volist name="list" id="vc"}
						{eq name="vc['cr_state']" value="1"}
							<div class="answer-item">
								{empty name="$vc['img']"}
									{eq name="$vc['cr_type']" value="2"}
										<img class="fr" src="__PUBLICINDEX__/images/user-02.png" alt="" />
									{/eq}
									{eq name="$vc['cr_type']" value="1"}
									<img class="fr" src="__PUBLICINDEX__/images/user-head.png" alt="" />
									{/eq}

								{else /}
									<img class="fr" src="{$vc['img']}" alt="" />
								{/empty}
								<div class="item-con fl">
									<h4>
										{$vc['nickname']} &nbsp;&nbsp;{eq name="vc['cr_type']" value="2"}官方律师{/eq}
										<span class='fr'>回答于：{$vc['cr_addtims']}</span>
									</h4>
									<div class="text">
										{$vc['cr_details']}
									</div>
								</div>
							</div>
						{else/}
						<div class="question-again-item">
							{empty name="$vc['img']"}
								<img class="fl" src="__PUBLICINDEX__/images/user-head.png" alt="" />
							{else /}
							<img class="fl" src="{$vc['img']}" alt="" />
							{/empty}
							<div class="item-con fr">
								<h4>
									{$vc['nickname']}
									<span class='fr'>提问于：{$vc['cr_addtims']}</span>
								</h4>
								<div class="text">
									{$vc['cr_details']}
								</div>
							</div>
						</div>
						{/eq}
					{/volist}
					</div>

					<div class="make-answer">
						<!-- <h2><i class="iconfont">&#xe680;</i>我要回答/追问</h2> -->
						<h2><i class="iconfont">&#xe680;</i>我要追问</h2>
						<form action="">
							<input type="hidden" name="consult_id" value="{$data['consult_id']}"/>
							<textarea name="details" placeholder='请认真填写您的回答或者追问' id="" cols="30" rows="10"></textarea>
							<div class="btn-wrap">
								<a href='javascript:;' class="q-again-btn" value="2" >追问</a>
								<!-- <a href='javascript:;' class="answer-btn" value="1" >回答</a> -->
							</div>
						</form>
					</div>
				{/empty}
				</div>
				<!-- 热门问答 -->
				<div class="fr side-right">
					<div class="make-question">
						<h4>填写咨询信息</h4>
						<form action="">
							<dl>
								<dt>请选择咨询类别<i class="iconfont">&#xe8e5;</i></dt>
								<dd>
									{volist  name="type_list" id="v"}
										<a href="javascript:;" value="{$v['consult_type_id']}" >{$v['ct_name']}</a>
									{/volist}	
								</dd>
							</dl>
							<input type="text" placeholder='输入咨询标题' />
							<textarea placeholder='您要咨询的详细内容' ></textarea>
							<a class="answer-sure" href="javascript:;">我要提问</a>
						</form>
					</div>
					<div class="side-gg">
						<a href="http://wpa.b.qq.com/cgi/wpa.php?ln=2&amp;uin=800817908" target="_blank"><img src="__PUBLICINDEX__/images/question/online-ask.png" alt="" /></a>
					</div>
				</div>
			</div>
		</div>
	</div>
	{include file="include:footer" /}
</body>
</html>
{include file="include:js" /}


